using UnityEngine;
using System.Collections;

public class SysLoader : MonoBehaviour {

	// Use this for initialization
	void Start () {
        this.StartCoroutine(load());
	}

    IEnumerator load()
    {
        string file = string.Format("{0}/fsr.tg", Application.dataPath);
        Debug.Log(file);
        var www = new WWW(file);
        yield return www;
        // Get the designated main asset and instantiate it.
        Instantiate(www.assetBundle.mainAsset);
    }
	
	// Update is called once per frame
	void Update () {
	
	}
}
